@import '~@common/css/_variables.scss';

.find {
  width: 100%;

  .tools {
    display: flex;
    margin-left: 11px;
    font-size: 14px;
    color: #9f9f9f;
    align-items: center;
    justify-content: space-between;

    :global {
      .ant-btn {
        height: auto;
        padding: 0;
        color: #507daf;
        border: none;
        outline: none;
      }
    }
  }
}

// playlist
.playlist {
  .boutique {
    position: relative;
    display: flex;
    width: 100%;
    height: 170px;
    padding: 15px;
    overflow: hidden;
    border-radius: 6px;
    align-items: center;

    img {
      position: relative;
      z-index: 4;
      width: 140px;
      height: 140px;
      min-width: 140px;
      border-radius: 6px;
    }

    .info {
      position: relative;
      z-index: 4;
      display: flex;
      padding-left: 10px;
      color: #fff;
      flex-direction: column;
      justify-content: center;

      span {
        width: max-content;
        padding: 7px 14px;
        font-size: 14px;
        color: #e7aa5a;
        border: 1px solid #e7aa5a;
        border-radius: 20px;
      }

      p {
        &:nth-child(2) {
          margin-top: 24px;
        }

        &:nth-child(3) {
          margin-top: 12px;
          font-size: 12px;
          color: #939290;
        }
      }
    }

    .bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-position: center center;
      background-repeat: repeat;
      background-size: 100%;
      filter: blur(36px) brightness(0.9) contrast(0.95) drop-shadow(8px 8px 10px rgba(0, 0, 0, 0.8));
    }
  }

  .pages {
    padding: 20px 0 60px 0;
  }
}

// TopList

.topList {
  .list {
    min-height: 1100px;

    .img_box {
      width: 172px;
      height: 172px;
      min-width: 172px;
      overflow: hidden;
      cursor: pointer;
      border-radius: 6px;

      img {
        width: 100%;
        height: 100%;
      }
    }

    .item {
      display: flex;
      margin-bottom: 20px;

      &:last-child {
        margin-bottom: 0;
      }

      .songList {
        padding-left: 30px;
        flex: 1;

        li {
          padding: 0 10px;
          font-size: 12px;
          line-height: 34px;

          &:nth-child(odd) {
            background-color: #f9f9f9;
          }

          &:hover {
            background-color: #f4f4f4;
          }

          &.active {
            background-color: #efefef;
          }
        }

        .viewAll {
          padding-left: 10px;
          font-size: 12px;
          line-height: 34px;
          color: #838383;
          cursor: pointer;
        }
      }
    }
  }
}

// recommend
.sort {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0 34px;

  p {
    font-size: 13px;
    color: #9f9f9f;
    text-align: center;
  }

  div {
    display: table;
    height: 32px;
    padding: 0 24px;
    margin-top: 16px;
    font-size: 12px;
    line-height: 32px;
    color: $color;
    text-align: center;
    border: 1px solid $color;
    border-radius: 6px;
  }
}

// newmusic
.newmusic {
  .nav1 {
    display: flex;
    padding: 10px 0 20px;
    justify-content: center;
  }

  .singleBtn {
    display: flex;

    li {
      padding: 0 14px;
      margin-left: 6px;
      font-size: 12px;
      line-height: 22px;
      white-space: nowrap;
      cursor: pointer;

      &:first-child {
        color: #fff;
        background-color: $color;
        border: 1px solid $color;
        border-radius: 22px;
      }

      &:last-child {
        padding: 0 14px; //  0 14px
        line-height: 22px;
        white-space: nowrap;
        border: 1px solid #d8d8d8;
        border-radius: 22px;

        &:hover {
          color: #000;
          background-color: #f2f2f2;
        }
      }
    }
  }

  .albumleBtn {
    display: flex;

    li {
      position: relative;
      padding: 4px 10px;
      margin-left: 6px;
      font-size: 12px;
      color: #676767;
      cursor: pointer;

      &:hover {
        color: #373737;
      }

      &::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 15px;
        content: '';
      }

      &.active {
        color: $color;
        border-radius: 10px;

        &::before {
          background-color: $color;
          opacity: 0.08;
        }

        &:hover {
          &::before {
            background-color: $color;
            opacity: 0.08;
          }
        }
      }
    }
  }
}
